package com.cn.entity;

/**
 * Jobright entity. @author MyEclipse Persistence Tools
 */

public class Jobright implements java.io.Serializable {

	// Fields

	private Integer id;
	private Jobinfo jobinfo;
	private Rights rights;

	// Constructors

	/** default constructor */
	public Jobright() {
	}

	/** full constructor */
	public Jobright(Jobinfo jobinfo, Rights rights) {
		this.jobinfo = jobinfo;
		this.rights = rights;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Jobinfo getJobinfo() {
		return this.jobinfo;
	}

	public void setJobinfo(Jobinfo jobinfo) {
		this.jobinfo = jobinfo;
	}

	public Rights getRights() {
		return this.rights;
	}

	public void setRights(Rights rights) {
		this.rights = rights;
	}

}